/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ajz.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 记录表Entity
 * @author whh
 * @version 2017-10-10
 */
public class AjzRecord extends DataEntity<AjzRecord> {
	
	private static final long serialVersionUID = 1L;
	private String picUrl;		// 图片存储地址
	private String type;		// 子表类别 （根据表名来存储）
	private Date deadline;		// 截止时间
	private String opinion;		// 整改意见
	private String ajzBaseinfoId;		// 基本表id
	private String status;		// 状态：1.已整改 2.未整改
	private String number;		// 编号
	private String backup1;		// backup1
	private String backup2;		// backup2
	private String backup3;		// backup3
	private String backup4;		// backup4
	private String backup5;		// backup5
	private String backup6;		// backup6
	private String backup7;		// backup7
	
	public AjzRecord() {
		super();
	}

	public AjzRecord(String id){
		super(id);
	}

	@Length(min=0, max=1000, message="图片存储地址长度必须介于 0 和 1000 之间")
	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}
	
	@Length(min=0, max=64, message="子表类别 （根据表名来存储）长度必须介于 0 和 64 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getDeadline() {
		return deadline;
	}

	public void setDeadline(Date deadline) {
		this.deadline = deadline;
	}
	
	@Length(min=0, max=1000, message="整改意见长度必须介于 0 和 1000 之间")
	public String getOpinion() {
		return opinion;
	}

	public void setOpinion(String opinion) {
		this.opinion = opinion;
	}
	
	@Length(min=0, max=64, message="基本表id长度必须介于 0 和 64 之间")
	public String getAjzBaseinfoId() {
		return ajzBaseinfoId;
	}

	public void setAjzBaseinfoId(String ajzBaseinfoId) {
		this.ajzBaseinfoId = ajzBaseinfoId;
	}
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	@Length(min=0, max=64, message="编号长度必须介于 0 和 64 之间")
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
	@Length(min=0, max=255, message="backup1长度必须介于 0 和 255 之间")
	public String getBackup1() {
		return backup1;
	}

	public void setBackup1(String backup1) {
		this.backup1 = backup1;
	}
	
	@Length(min=0, max=255, message="backup2长度必须介于 0 和 255 之间")
	public String getBackup2() {
		return backup2;
	}

	public void setBackup2(String backup2) {
		this.backup2 = backup2;
	}
	
	@Length(min=0, max=255, message="backup3长度必须介于 0 和 255 之间")
	public String getBackup3() {
		return backup3;
	}

	public void setBackup3(String backup3) {
		this.backup3 = backup3;
	}
	
	@Length(min=0, max=255, message="backup4长度必须介于 0 和 255 之间")
	public String getBackup4() {
		return backup4;
	}

	public void setBackup4(String backup4) {
		this.backup4 = backup4;
	}
	
	@Length(min=0, max=255, message="backup5长度必须介于 0 和 255 之间")
	public String getBackup5() {
		return backup5;
	}

	public void setBackup5(String backup5) {
		this.backup5 = backup5;
	}
	
	@Length(min=0, max=255, message="backup6长度必须介于 0 和 255 之间")
	public String getBackup6() {
		return backup6;
	}

	public void setBackup6(String backup6) {
		this.backup6 = backup6;
	}
	
	@Length(min=0, max=255, message="backup7长度必须介于 0 和 255 之间")
	public String getBackup7() {
		return backup7;
	}

	public void setBackup7(String backup7) {
		this.backup7 = backup7;
	}
	
}